package com.zld.smarket.service;

import com.zld.smarket.dto.TotalSaleData;
import com.zld.smarket.dto.TypeRate;
import com.zld.smarket.pojo.Sale;
import com.zld.smarket.result.ResponseData;

import java.util.List;

public interface SaleService {
    ResponseData findList(Integer page, Integer limit);

    Long selectbyno(Long i);

    Integer addsale(Sale sale);

    List<TotalSaleData> weeksale();

    List<Long> salenum(String s);

    TotalSaleData weektotalsale();

    List<TypeRate> typerate();

    ResponseData search(String s, Integer page, Integer limit);

    TotalSaleData monthtotalsale();

    List<TypeRate> salenumrate();
}
